<!DOCTYPE html>
<html>
<head>
	<title>我的</title>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<meta content="yes" name="apple-mobile-web-app-capable">
	<meta content="yes" name="apple-touch-fullscreen">
	<meta content="telephone=no,email=no" name="format-detection">
	<meta content="telephone=no,email=no" name="format-detection">
	<script type="text/javascript" src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/js/photoNewBook/jisuan.js"></script>
	<link rel="stylesheet" type="text/css" href="../css/foot.css"/>
	<link rel="stylesheet" href="../css/photoNewBook/my.css">
</head>
<style type="text/css">
.mine {
    background: url(http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/index/app/index/wode.png) no-repeat !important;
    background-position: 50% 30% !important;
    background-size: 33% !important;
    color: #87E1D5 !important;
}
.admonitory {
    width: 8rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-color: #FFFFFF;
    position: absolute;
    margin-left: 1rem;
    top: 35%;
    box-shadow: 0 1px 6px 0 rgba(140,140,140,0.50);
    z-index: 100;
     display: none; 
}
.bullet-text {
    width: 100%;
    font-size: 18px;
    text-align: center;
    line-height: 2rem;
}
.cancel, .confirm {
    position: absolute;
    width: 2.5rem;
    height: 0.8rem;
    font-size: 16px;
    text-align: center;
    background-color: #ecd53A;
    border-radius: 0.41333rem;
    margin-left: 10%;
    line-height: 0.8rem;
    color: #FFFFFF;
}
.confirm {
    right: 10%;
    background-color: #87e1d5;
}

</style>
<body>
		<input type="hidden" name="index" id="index" value="1" />
	<div class="mian">
			<div class="header">
				
			</div>
			<div class="substance location" onclick="Location()">
				<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/index/app/my/dizhi_2.png" alt="" class="img"/>
				<span class="text">收货地址</span>
				<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/my_bookshelf_icon_left_nor.png" alt="" class="img1"/>
				
			</div>
			<div class="substance order" onclick="myorder()">
				<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/index/app/my/dingdan.png" alt="" class="img"/>
				<span class="text">订单查询</span>
				<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/my_bookshelf_icon_left_nor.png" alt="" class="img1"/>
			</div>
			<!--<div class="substance propose" onclick="feedback()">
				<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/index/app/my/jianyi.png" alt="" class="img"/>
				<span class="text">功能建议</span>
				<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/my_bookshelf_icon_left_nor.png" alt="" class="img1"/>
			</div>-->
			<div class="substance protocol" onclick="protocol()">
				<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/index/app/my/xieyi.png" alt="" class="img"/>
				<span class="text">用户协议</span>
				<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/my_bookshelf_icon_left_nor.png" alt="" class="img1"/>
				
			</div>
			<div class="substance contact" onclick="contact()">
				<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/index/app/my/lianxi.png" alt="" class="img"/>
				<span class="text">联系我们</span>
				<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/my_bookshelf_icon_left_nor.png" alt="" class="img1"/>
				
			</div>
			<!--<div class="substance recommend">
				<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/index/app/my/tuijian.png" alt="" class="img"/>
				<span class="text">推荐给好友</span>
				<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/my_bookshelf_icon_left_nor.png" alt="" class="img1"/>
			</div>-->
			<div class="substance entry" onclick="closeNativePage()">
				<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/index/app/my/tuichu.png" alt="" class="img"/>
				<span class="text">退出登录</span>
			</div>
			
	</div>
	<div class="admonitory">
			<div class="bullet-text">是否退出APP</div>
			<div class="cancel">取消</div>
			<div class="confirm" onclick="closeNativePage()">确定</div>
		</div>
	 <foot class="foot">
		 	 <div class="foot_center">
		 	 		<div class="indeX" onclick="index()">首页</div>
		 	 		<div class="bookshelf" onclick="bookrack()">书架</div>		 	 		
		 	 		<div class="made" onclick="made()">定制</div>
		 	 		<div class="mine" onclick="mine()">我的</div>
		 	 </div>
		 </foot>
<!--返回上一页-->
<input type="hidden" name="" id="recurrence" value="0" />
<script src="../js/communal.js"></script>
<script type="text/javascript" src="../js/photoNewBook/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="../js/foot2.js"></script>
<script src="../js/communal.js"></script>
<script type="text/javascript">
window.onload=function(){
	 var userId = sessionStorage.getItem("userId");
	  $.ajax({
                 type:"POST",
				url:"http://www.youyiku-yishu.cn/WebApp/AppIndex/mine",
				data:{userId:userId},
				dataType:"json",
				beforeSend: function (XMLHttpRequest) {
						XMLHttpRequest.setRequestHeader("DEVICEINFO", "JxRaZezavm3HXM3d9pWnYiqqQC1SJbsU");
				} 
                }).then(data=>{
					var name='';
					name+='<div class="portrait">';
					name+='<img src="'+data.head_pic+'" alt="" class="img_1"/>'
					name+='</div>';
					name+='<div class="name">'+data.nickname+'</div>';			
//		            name+='<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/index/app/my/bianji.png" onclick="personal()"/>'
		            $('.header').html(name);
				})
}
//	是否退出App
$('.cancel').click(function(){
	$('.admonitory').css('display','none');
})
</script>
</body>

</html>